package com.chuangjiangx.member.manager.client.web.basic.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 手机号码参数
 * Created by YangKuo on 2017/10/12.
 */
@Getter
@Setter
@ApiModel(value = "手机号码参数")
public class CheckPhone {

    /**
     * 手机号码
     */
    @ApiModelProperty(value = "手机号码")
    @Length(min = 11, max = 11, message = "{mobilePhone.size}")
    @NotBlank(message = "{mobilePhone.null}")
    private String phone;

}
